package springframework.bean;

/**
 * @author lzp
 * @Date:2023/3/10
 * @description: 用户service
 */
public class UserService {

	private String uId;

	private UserDao userDao;

	public void queryUserInfo() {
		System.out.println("查询用户信息：" + userDao.queryUserName(uId));
	}

	public UserService() {

	}

	public UserService(String uId, UserDao userDao) {
		this.uId = uId;
		this.userDao = userDao;
	}

	public String getuId() {
		return uId;
	}

	public void setuId(String uId) {
		this.uId = uId;
	}

	public UserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

}
